/**
 * 
 */
package org.ucn.dmaa0914.gruppe6;

/**
 * @author Kim
 *
 */
public class CustomerSearchFilter implements SearchFilter<Customer> {

	@Override
	public boolean isCandidate(Customer object, String searchData) {
		return object.getPhone().contains(searchData) || object.getName().contains(searchData);
	}

}
